home *** CD-ROM | disk | FTP | other *** search
/ PC PowerPlay 58 / pcpp58a.iso / extras / quake 3 source / Q3A_ToolSource.exe / Main / CAMERA.H < prev    next >
Encoding:
C/C++ Source or Header  |  2001-01-02  |  422 b   |  31 lines

  1.  
  2. // window system independent camera view code
  3.  
  4. typedef enum
  5. {
  6.     cd_wire,
  7.     cd_solid,
  8.     cd_texture,
  9.   cd_light,
  10.     cd_blend
  11. } camera_draw_mode;
  12.  
  13. typedef struct
  14. {
  15.     int        width, height;
  16.  
  17.     qboolean    timing;
  18.  
  19.     vec3_t    origin;
  20.     vec3_t    angles;
  21.  
  22.     camera_draw_mode    draw_mode;
  23.  
  24.     vec3_t    color;            // background 
  25.  
  26.     vec3_t    forward, right, up;    // move matrix
  27.  
  28.     vec3_t    vup, vpn, vright;    // view matrix
  29. } camera_t;
  30.  
  31.